.booking-section {
    padding: 120px 20px 80px 20px; 
    background-color: #f8fafc;
    font-family: Arial, sans-serif;
}

.booking-container {
    max-width: 700px; 
    margin: 0 auto;
}

.booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-header h2 {
    font-size: 32px;
    color: #1e293b;
    margin-bottom: 12px;
}

.booking-header p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.booking-accent-line {
    width: 60px;
    height: 4px;
    background-color: #36AD49; 
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.booking-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: #334155;
    margin-bottom: 8px;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form input[type="date"],
.booking-form select,
.booking-form textarea {
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    color: #334155;
    outline: none;
    transition: all 0.2s ease-in-out;
    font-family: inherit;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: #36AD49;
    box-shadow: 0 0 0 3px rgba(54, 173, 73, 0.1);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.booking-form textarea {
    resize: vertical;
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 30px 0;
}

.form-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #36AD49;
    cursor: pointer;
}

.form-privacy label {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

.btn-submit-booking {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #36AD49;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
}
.custom-dropdown {
    position: relative;
    width: 100%;
    font-family: Arial, sans-serif;
}
.dropdown-trigger {
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    color: #334155;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.custom-dropdown.open .dropdown-trigger {
    border-color: #36AD49;
    box-shadow: 0 0 0 3px rgba(54, 173, 73, 0.1);
}

.dropdown-arrow {
    font-size: 10px;
    color: #64748b;
    transition: transform 0.2s ease;
}

.custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
    color: #36AD49;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 999;
    display: none; 
    max-height: 280px;
    overflow-y: auto;
}
.custom-dropdown.open .dropdown-menu {
    display: block;
}
.dropdown-search-wrapper {
    padding: 10px;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    z-index: 2;
}

#search-medico-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
}

#search-medico-input:focus {
    border-color: #36AD49;
}

.dropdown-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-options li {
    padding: 12px 16px;
    font-size: 15px;
    color: #334155;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.dropdown-options li:hover {
    background-color: #f1f5f9;
    color: #36AD49;
}
.dropdown-options li.selected {
    background-color: rgba(54, 173, 73, 0.08);
    color: #36AD49;
    font-weight: bold;
}
.no-results {
    padding: 15px;
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
}

.btn-submit-booking:hover {
    background-color: #2e933d;
}

@media (max-width: 600px) {
    .booking-form {
        padding: 25px 20px;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr; 
        gap: 0;
    }
}
.dropdown-trigger {
    user-select: none;         
    -webkit-user-select: none; 
}